package com.ffggffgfv.backend.entity;

import java.util.Date;

/**
 * 货架商品实体类
 */
public class ShelfProduct {

    private Long id;              // 主键ID
    private Long shelfId;         // 货架ID
    private Long productId;       // 商品ID
    private Integer quantity;     // 当前数量
    private String rfidTags;      // RFID标签编码（JSON数组格式）
    private String position;      // 货架上的位置编码
    private Date createTime;      // 创建时间
    private Date updateTime;      // 更新时间

    // Getter and Setter methods
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShelfId() {
        return shelfId;
    }

    public void setShelfId(Long shelfId) {
        this.shelfId = shelfId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getRfidTags() {
        return rfidTags;
    }

    public void setRfidTags(String rfidTags) {
        this.rfidTags = rfidTags;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
